<?php /* Smarty version Smarty-3.1.12, created on 2013-04-30 22:00:34
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/find_match/modals/waitingForOtherPlayers.tpl" */ ?>
<?php /*%%SmartyHeaderCode:963252207517fed2464ebc7-01115577%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c06b4c659e4df6b3192c2e50fb153d2f3f95c678' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/find_match/modals/waitingForOtherPlayers.tpl',
      1 => 1367351976,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '963252207517fed2464ebc7-01115577',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_517fed247532b0_77654891',
  'variables' => 
  array (
    'data' => 0,
    'v' => 0,
    'style' => 0,
    'rdy' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_517fed247532b0_77654891')) {function content_517fed247532b0_77654891($_smarty_tpl) {?><style type="text/css">
.s10{
	width:10%;
}
</style>
<?php if (count($_smarty_tpl->tpl_vars['data']->value)>0&&is_array($_smarty_tpl->tpl_vars['data']->value)){?>
<div class="row-fluid">
	<div class="span6">
		<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['waitingForOtherPlayers_array']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['waitingForOtherPlayers_array']['iteration']++;
?>
			<?php if ($_smarty_tpl->tpl_vars['v']->value['TeamID']==1){?>
				<?php if ($_smarty_tpl->tpl_vars['v']->value['Ready']==1){?>
					<?php $_smarty_tpl->tpl_vars["rdy"] = new Smarty_variable("badge-success", null, 0);?>
					<?php $_smarty_tpl->tpl_vars["style"] = new Smarty_variable("background-color: #dff0d8;", null, 0);?>
				<?php }else{ ?>
					<?php $_smarty_tpl->tpl_vars["rdy"] = new Smarty_variable('', null, 0);?>
					<?php $_smarty_tpl->tpl_vars["style"] = new Smarty_variable('', null, 0);?>
				<?php }?>
				
				<div style="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
">
					<img src="<?php echo $_smarty_tpl->tpl_vars['v']->value['Avatar'];?>
">&nbsp;<?php echo $_smarty_tpl->tpl_vars['v']->value['Name'];?>
<div class="badge <?php echo $_smarty_tpl->tpl_vars['rdy']->value;?>
 pull-right" style="margin-top: 7px;"><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['waitingForOtherPlayers_array']['iteration'];?>
</div>
				</div>
			<?php }?>
			
	    <?php } ?>
	</div>
	<div class="span6">
	<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['waitingForOtherPlayers_array']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['waitingForOtherPlayers_array']['iteration']++;
?>
			<?php if ($_smarty_tpl->tpl_vars['v']->value['TeamID']==2){?>
				<?php if ($_smarty_tpl->tpl_vars['v']->value['Ready']==1){?>
					<?php $_smarty_tpl->tpl_vars["rdy"] = new Smarty_variable("badge-success", null, 0);?>
					<?php $_smarty_tpl->tpl_vars["style"] = new Smarty_variable("background-color: #dff0d8;", null, 0);?>
				<?php }else{ ?>
					<?php $_smarty_tpl->tpl_vars["rdy"] = new Smarty_variable('', null, 0);?>
					<?php $_smarty_tpl->tpl_vars["style"] = new Smarty_variable('', null, 0);?>
				<?php }?>
				
				<div style="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
">
					<img src="<?php echo $_smarty_tpl->tpl_vars['v']->value['Avatar'];?>
">&nbsp;<?php echo $_smarty_tpl->tpl_vars['v']->value['Name'];?>
<div class="badge <?php echo $_smarty_tpl->tpl_vars['rdy']->value;?>
 pull-right" style="margin-top: 7px;"><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['waitingForOtherPlayers_array']['iteration'];?>
</div>
				</div>
			<?php }?>
			
	    <?php } ?>
	</div>
</div>
<?php }?><?php }} ?>